#ifndef MAINWINDOW_H
#define MAINWINDOW_H

#include <QMainWindow>
#include "debugger.h"

namespace Ui {
class MainWindow;
}

class MainWindow : public QMainWindow
{
    Q_OBJECT
    
public:
    explicit MainWindow(QWidget *parent = 0);
    void ShowError(const char* errorMessage);
    ~MainWindow();

public slots:
    void showDebugger();
    void runEmulator();
    void stopEmulator();
    
private:
    Ui::MainWindow *ui;
    Debugger* m_Debugger;

protected:
    void resizeEvent(QResizeEvent * event);

};

#endif // MAINWINDOW_H
